
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
int main( void )
{
       	int i=RAND_MAX;
	        
    	printf("RAND_MAX=0x%x   time(0)=%d \n",RAND_MAX,(int)time(0));
    
        srand(0x41414141);
    /* 输出 10 个随机数. */
       for( i = 0;   i < 50;i++ )
      {   

	printf( "%d,", rand()%6+1 );
      }
       printf("\nend");
return 0;
}
